﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MergeDetail.aspx.cs" Inherits="HealthSystem.sysAdmin.MergeDetail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="p1" />
    <ext:Panel runat="server" ID="p1" Layout="Fit" ShowBorder ="false" ShowHeader="false" AutoScroll="true">
        <Toolbars>
            <ext:Toolbar ID="Toolbar1" runat="server">
                <Items>
                    <ext:Button ID="Button1" Text="撤销学校合并" runat="server" Icon="DoorOut" ConfirmText="确定撤销合并?" OnClick="DeMerge"></ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
        <Items>
              <ext:Form ID="form2"  runat="server" ShowHeader="false" EnableBackgroundColor="true" BodyPadding="10px" AutoScroll="true">
                <Rows>
                    <ext:FormRow>
                        <Items>
                            <ext:Panel ID="Panel1" runat="server" ShowBorder="false" BodyPadding="5px 5px 10px 0px" ShowHeader="false" Layout="Column" EnableBackgroundColor="false">
                                <Items>
                                     <ext:Label ID="Label2" Text="被合并学校:" runat="server"  Width="105px"></ext:Label>
                                    <ext:Grid ID="grid2" runat="server"  ShowBorder="false" DataKeyNames="SchoollCode,Name" Width="160px" Height="150px" ShowGridHeader="true"  ShowHeader="false" EnableBackgroundColor="false">
                                        <Columns>
                                            <ext:BoundField DataField="SchoolCode" Hidden="true" />
                                            <ext:BoundField DataField="SchoolName" HeaderText="学校名称" Width="150px" />
                                        </Columns>
                                    </ext:Grid>
                                </Items>
                            </ext:Panel>
                        </Items>
                    </ext:FormRow>
                     <ext:FormRow>
                        <Items>
                            <ext:Panel ID="Panel2" runat="server" ShowBorder="false" ShowHeader="false" EnableBackgroundColor="true" Layout="Column">
                                <Items>
                                    <ext:Label ID="Label3" runat="server" Width="105px" Text="地区:"></ext:Label>
                                    <ext:TextBox runat="server" Label="新学校地区" ID="TextBox1" Readonly="true" Width="250px" Required="true" ShowRedStar="true"></ext:TextBox>
                                </Items>
                            </ext:Panel>
                            
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" Label="新学校名称" ID="SchoolName" Required="true" ShowRedStar="true"></ext:TextBox>
                        </Items>
                    </ext:FormRow>
                  
                    <ext:FormRow>
                        <Items>
                            <ext:CheckBox runat="server" Label="授权" Checked="true" ID="permitcheck"></ext:CheckBox>
                        </Items>
                    </ext:FormRow>
                     <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" Label="学校地址" ID="Address"></ext:TextBox>
                        </Items>
                    </ext:FormRow>
                     <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" Label="联系人" ID="LinkMan"></ext:TextBox>
                        </Items>
                    </ext:FormRow>
                      <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" Label="电话" ID="OfficePhone"></ext:TextBox>
                        </Items>
                    </ext:FormRow>
                      <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" Label="手机" ID="MobilePhone"></ext:TextBox>
                        </Items>
                    </ext:FormRow>
                       <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" Label="Email" ID="Email"></ext:TextBox>
                        </Items>
                    </ext:FormRow>
                      <ext:FormRow>
                        <Items>
                            
                            <ext:TextBox runat="server" Label="学校类型" ID="SchoolType"></ext:TextBox>
                        </Items>
                    </ext:FormRow>
                      <ext:FormRow>
                        <Items>
                            <ext:Panel ID="Panel3" runat="server" Layout="Column" ShowHeader="false" EnableBackgroundColor="true" ShowBorder="false">
                                <Items>
                                    <ext:Label ID="Label4" runat="server" Text="机构:" Width="105px"></ext:Label>
                                    <ext:TextBox runat="server" Width="250px"  Label="机构" ID="OrgName" Readonly="true" Required="true" ShowRedStar="true"></ext:TextBox>
                                </Items>
                            </ext:Panel>
                            
                        </Items>
                    </ext:FormRow>
                    
                </Rows>
            </ext:Form>
        </Items>
    </ext:Panel>
    </form>
</body>
</html>
